package com.example.text.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.text.entity.AdminPermission;

import java.util.List;
import java.util.Set;

/**
 * 规则许可表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
public interface AdminPermissionService extends IService<AdminPermission> {

     Set<String> listPermissionURLByUser(String username);

     boolean needFilter(String requestAPI);

     List<AdminPermission> listPermsByRoleId(int rid);
}
